<img src="images/<?php echo $_POST['color']?>_cap.png" class="on_drop" id="img_1" />&nbsp;(Gorro <?php echo $_POST['color']?>)
<script type="text/javascript">
    new Draggable('img_1',{revert:1});
</script>